negotiator.boaframework.repository
Class BOArepItem
java.lang.Object
negotiator.boaframework.repository.BOArepItem
- All Implemented Interfaces:
- java.lang.Comparable<BOArepItem>
public class BOArepItem
- extends java.lang.Object
- implements java.lang.Comparable<BOArepItem>
Class used to represent an item in the BOArepository.
An item in the BOA repository has a classPath and may have a tooltip.
- Author:
- Mark Hendrikx
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BOArepItem
public BOArepItem(java.lang.String name,
java.lang.String classPath,
ComponentsEnum type)
addParameter
public void addParameter(BOAparameter parameter)
getClassPath
public java.lang.String getClassPath()
- Returns:
- classpath of the BOA component.
getParameters
public java.util.ArrayList<BOAparameter> getParameters()
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toXML
public java.lang.String toXML()
getType
public ComponentsEnum getType()
getTypeString
public java.lang.String getTypeString()
compareTo
public int compareTo(BOArepItem rep2)
- Specified by:
compareTo in interface java.lang.Comparable<BOArepItem>